package cn.laixueit.order.service;

import cn.laixueit.order.pojo.Order;
import cn.laixueit.pojo.result.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface OrderService extends IService<Order> {
    public Long createOrder(Order order);
    public Order queryById(Long id);
    public PageResult<Order> queryUserOrderList(Integer page, Integer rows, Integer status);
    public Boolean updateStatus(Long id, Integer status);

    Map<String, String> findOrderDetail(Long id);
}
